<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <div id="namePanel" class="form-group">
        <div class="form-group">
            <label for="name" class="control-label col-xs-12 col-sm-2">商品分类名称</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" id="name" type="text" name="row[name]" value="" data-rule="required" placeholder="商品分类名称" autocomplete="off" maxlength="100">
                <div class="help-block"></div>
            </div>
        </div>
        <div class="form-group">
            <label for="odr" class="control-label col-xs-12 col-sm-2">排序</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" id="odr" type="number" name="row[odr]" data-rule="required;integer" placeholder="排序" autocomplete="off" maxlength="100" value="0">
                <div class="help-block"></div>
            </div>
        </div>
    </div>
    <div id="buttonPanel" class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
